package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户费用对象 u_user_recharge
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class UUserRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal amount;

    /** 充值截图 */
    @Excel(name = "充值截图")
    private String url;

    /** 充值方式 1银行卡 2支付宝 3微信 4QQ支付 */
    @Excel(name = "充值方式 1银行卡 2支付宝 3微信 4QQ支付")
    private Long type;

    /** 审核结果 0待审核 1审核通过 2审核拒绝 */
    @Excel(name = "审核结果 0待审核 1审核通过 2审核拒绝")
    private Integer status;

    /** 充值流水号 */
    @Excel(name = "充值流水号")
    private String flowingNumber;

    private String userPhone;

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setFlowingNumber(String flowingNumber) 
    {
        this.flowingNumber = flowingNumber;
    }

    public String getFlowingNumber() 
    {
        return flowingNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("amount", getAmount())
            .append("url", getUrl())
            .append("type", getType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("flowingNumber", getFlowingNumber())
            .toString();
    }
}
